
from apps.common.base.serializers import BaseSerializer
from apps.system.log.models import *

class LogListSerializer(BaseSerializer):

    class Meta:
        model = Log
        fields = ['id', 'title']

class LogModelSerializer(LogListSerializer):

    class Meta:
        model = Log
        fields = "__all__"